<?php defined('SYSPATH') or die('No direct script access.');

/**
 * @file user.php
 * @brief 
 * @author Lionel Tsai
 * @version 1.0
 * @date 2012-02-17
 */
class Model_User extends Model_Auth_User {
	protected $_table_name = 'users';
	
	protected $_has_many = array(
			'user_tokens' => array('model' => 'user_tokens'),
			'roles' => array('model' => 'role', 'through' => 'roles_users'),
			'usermeta' => array('model' => 'usermeta'),
			'links' => array('model' => 'link'),
			'posts' => array('model' => 'post'),
			);

} // End Model_User
